from flask import render_template, Flask

app = Flask(__name__)

@app.route('/hello/')
@app.route('/hello/<string:name>')
def hello(name=None):
    return render_template('index.html', person=name)

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=5000, debug=True)